import systemManageTpl from './systemManage.html';
import systemManageCtrl from './systemManage.controller';

function routeConfig($stateProvider) {
  'ngInject';

  $stateProvider
    .state('department', {
      parent: 'index',
      url: '/systemManage/department',
      templateUrl: systemManageTpl,
      controller: systemManageCtrl,
      controllerAs: 'vm',
    })
    .state('postion', {
      parent: 'index',
      url: '/systemManage/postion',
      templateUrl: systemManageTpl,
      controller: systemManageCtrl,
      controllerAs: 'vm',
    })
    .state('deviceCategory', {
      parent: 'index',
      url: '/systemManage/deviceCategory',
      templateUrl: systemManageTpl,
      controller: systemManageCtrl,
      controllerAs: 'vm',
    })
    .state('deviceUsedLocation', {
      parent: 'index',
      url: '/systemManage/deviceUsedLocation',
      templateUrl: systemManageTpl,
      controller: systemManageCtrl,
      controllerAs: 'vm',
    });
}

export default routeConfig;
